package cn.itsource.exam.query;

import lombok.Data;

@Data
public class ExamQuery {
    private Long currentPage = 1L;
    private Long pageSize = 10L;
    private String value;
    private String type;
    private String typeName;

    public Long getStart(){
        return (currentPage-1)*pageSize;
    }
}
